import Vue from 'vue'
import App from './App.vue'
import router from './router'
import * as axios from '@/api'
import {userApi, artApi, common} from '@/api/api.js'
import '@/BootstrapVue'
import '@/directives'
import web from './install'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
Vue.config.productionTip = false
Vue.prototype.$axios = axios;
Vue.prototype.$userApi = userApi;
Vue.prototype.$artApi = artApi;
Vue.prototype.$commonApi = common;
Vue.use(web)
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
